package com.qx.chat.system.message;

import java.util.Date;

public class Message {

	// 消息
	public final static String TYPE = "msg";
	// 群消息
	public final static String GROUPTYPE = "groupMsg";
	// 真正发送群消息
	public final static String SENDGROUPTYPE = "sendGroupMsg";
	// 真正发送消息
	public final static String SENDTYPE = "sendMsg";
	// 消息标记为已读
	public final static String READMSG = "readMsg";
	// 读取未读消息
	public final static String NOREADMSG = "noReadMsg";
	
	private String id;

	private String fromName;
	
	private String toName;

	private String from;

	private String groupId;
	
	private String groupName;

	private String to;
	
	private Date time;
	
	private Integer chatType;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getFrom() {
		return from;
	}

	public void setFrom(String from) {
		this.from = from;
	}

	public String getTo() {
		return to;
	}

	public void setTo(String to) {
		this.to = to;
	}

	public String getFromName() {
		return fromName;
	}

	public void setFromName(String fromName) {
		this.fromName = fromName;
	}

	public String getToName() {
		return toName;
	}

	public void setToName(String toName) {
		this.toName = toName;
	}

	public Date getTime() {
		return time;
	}

	public void setTime(Date time) {
		this.time = time;
	}

	public String getGroupId() {
		return groupId;
	}

	public void setGroupId(String groupId) {
		this.groupId = groupId;
	}

	public String getGroupName() {
		return groupName;
	}

	public void setGroupName(String groupName) {
		this.groupName = groupName;
	}

	public Integer getChatType() {
		return chatType;
	}

	public void setChatType(Integer chatType) {
		this.chatType = chatType;
	}
	
}
